Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more options to C api for backups and getting info from them #13270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jurmous
Copy link
Contributor

@jurmous jurmous commented Jan 6, 2025

Some API calls were missing for backup options in the C api like

  • rocksdb_backup_engine_delete_backup
  • rocksdb_backup_engine_get_corrupted_backups
  • rocksdb_backup_engine_garbage_collect
  • rocksdb_backup_engine_info_app_metadata

This pull request adds these methods and a new method to make and destroy create backup options through methods like:

  • rocksdb_create_backup_options_create
  • rocksdb_create_backup_options_destroy
  • rocksdb_create_backup_options_set_flush_before_backup

And added tests

@jurmous jurmous force-pushed the c-api-backup-options branch 3 times, most recently from c619d92 to 3cdc8fe Compare January 9, 2025 15:04
@jurmous jurmous force-pushed the c-api-backup-options branch 3 times, most recently from d722f3e to 77ae6e1 Compare January 20, 2025 14:23
@jurmous jurmous force-pushed the c-api-backup-options branch from 77ae6e1 to f0f2b5d Compare January 22, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants